import request from '@/utils/request';

// 获取商户信息
export const getShopInfo = (data) => {
  return request({
    url: '/shop/home/getShopInfo',
    method: 'POST',
    data,
  })
}
// 订单图表统计数据
export const countOrderData = (data) => {
  return request({
    url: '/shop/home/countOrderData',
    method: 'POST',
    data,
  })
}
// 店铺统计数据
export const countShopData = (data) => {
  return request({
    url: '/shop/home/countShopData',
    method: 'POST',
    data,
  })
}
// 获取商户订单统计数据
export const getShopOrderStatistics = (data) => {
  return request({
    url: '/shop/home/getShopOrderStatistics',
    method: 'POST',
    data,
  })
}